package com.jk.util.permission;

import com.jk.entity.PermissionType;
import com.jk.entity.ResultTypeEnum;

import java.lang.annotation.*;

/**
 * Created by yanghuan on 2015/8/4.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PermissionRepository {
    PermissionType[] permissionTypes();
    ResultTypeEnum resultType() default ResultTypeEnum.page;
}
